package org.leviatan.dataharbour.gui.swingmodels;

import javax.swing.tree.DefaultMutableTreeNode;

public class TreeNodeMdlSender extends DefaultMutableTreeNode {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4467296731368654225L;

	private String id;
	
	private String name;

	

	
	public TreeNodeMdlSender(String id) {
		super();
		this.id = id;
		this.setUserObject(this);
	}

	public String getId() {
		return this.id;
	}

	public String getName() {
		return this.name;
	}

	public void setId(String aId) {
		this.id = aId;
	}

	public void setName(String aName) {
		this.name = aName;
	}
	
	public String toString() {
		return "[sender] " + this.id;
		
	}

}
